package com.tyl.service.impl;

import com.tyl.entity.Attr;
import com.tyl.mapper.AttrMapper;
import com.tyl.service.IAttrService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 商品属性 服务实现类
 * </p>
 *
 * @author 汤云龙
 * @since 2022-03-23
 */
@Service
public class AttrServiceImpl extends ServiceImpl<AttrMapper, Attr> implements IAttrService {

    @Override
    public List<Attr> selectAll(Long categoryId) {
        return baseMapper.selectAll(categoryId);
    }
}
